package org.linlinjava.litemall.admin.vo;

import org.linlinjava.litemall.admin.dto.TemplateData;

import java.text.DateFormat;
import java.util.Map;

public class WxMssVo {

    private String touser;//用户openid
    private String template_id;//订阅消息模版id
    private String page = "pages/index/index";//默认跳到小程序首页
    private Map<String, TemplateData> data;//推送文字
    private DateFormat creatdate;

    public DateFormat getCreatdate() {
        return creatdate;
    }
    public void setCreatdate(DateFormat creatdate) {
        this.creatdate = creatdate;
    }


    public String getTouser() {
        return touser;
    }
    public void setTouser(String touser) {
        this.touser = touser;
    }
    public String getTemplate_id() {
        return template_id;
    }
    public void setTemplate_id(String template_id) {
        this.template_id = template_id;
    }
    public String getPage() {
        return page;
    }
    public void setPage(String page) {
        this.page = page;
    }
    public Map<String, TemplateData> getData() {
        return data;
    }
    public void setData(Map<String, TemplateData> hashMap) {
        this.data = hashMap;
    }
    @Override
    public String toString() {
        return "WxMssVo [touser=" + touser + ", template_id=" + template_id
                + ", page=" + page + ", data=" + data + ", creatdate="
                + creatdate + "]";
    }

}
